package day01;

import java.util.Scanner;

public class Work00201 {
    public static void main(String[] args) {
        float a;
        float b;
        float c;
        float max;
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入第一个数");
        a = scanner.nextFloat();
        System.out.println("请输入第二个数");
        b = scanner.nextFloat();
        System.out.println("请输入第三个数");
        c = scanner.nextFloat();
        max = a;
        System.out.println(max);
        if (max >= b) {
            max = b;
        } else if (max >= c) {
            max = c;
        }
        System.out.println("三个数字中的最小数值为：" + max);
    }
}
